<template>
  <div class="scroll-wrapper" ref="wrapper">
    <div class="scroll-content">
      <current-city></current-city>
      <city-list></city-list>
    </div>
  </div>
</template>

<script>
import BetterScroll from 'better-scroll'
import CurrentCity from './CityList/CurrentCity.vue';
import CityList from './CityList/CityList.vue';
export default {
  name: 'CityScrollWrapper',
  components: {
    CityList,
    CurrentCity
  },
  mounted() {
    this.scroll = new BetterScroll(this.$refs.wrapper);
  }
};
</script>

<style lang="scss" scoped></style>
